<template>
  <view class="pay-confirm-page">
    <view class="header">
      <text class="back" @click="goBack">＜</text>
      <text class="title">付款</text>
    </view>
    <view class="merchant-info">
      <image class="logo" src="../../../assets/walmart.png" mode="aspectFill" />
      <view class="merchant-detail">
        <text class="store">沃尔玛超市（平安路店）</text>
      </view>
    </view>
    <view class="confirm-label">向商家付款</view>
    <view class="amount">120.00￥</view>
    <view class="confirm-btn" @click="confirmPay">确认支付</view>
  </view>
</template>

<script setup>
function goBack() {
  uni.navigateBack()
}
function confirmPay() {
  // 支付确认逻辑
}
</script>

<style src="./pay-confirm.css" scoped></style> 